using SqlSugar;

namespace Process.Domain.DTO.InputDTO
{
    public class AddOperationDTO
    {

        public string OperationCode { get; set; }
        [SugarColumn(ColumnName = "OperationName", Length = 100, IsNullable = false)]
        public string OperationName { get; set; } // 工艺名称

        [SugarColumn(ColumnName = "OperationHead", Length = 50, IsNullable = true)]
        public long OperationHead { get; set; } // 工艺负责人

       

        [SugarColumn(ColumnName = "OperationStates", IsNullable = false, DefaultValue = "1")]
        public bool OperationStates { get; set; } = true; // 工艺状态，默认为启用

        [SugarColumn(ColumnName = "OperationDesc", Length = 500, IsNullable = true)]
        public string OperationDesc { get; set; } // 工艺描述

        [SugarColumn(ColumnName = "OperationMaterials", Length = 200, IsNullable = true)]
        public string OperationMaterials { get; set; } // 工艺物料

        
    }
} 